Skip to content

Conversation

@Renegade334
Copy link
Contributor

Fixes a couple of divergences from the specifications:

  • WebSocket#send() was previously overridden back in 2018 to accept shared array buffers and array buffer views. The parameter isn't [AllowShared] in the specification, so this is simply inaccurate.
  • The extends clause of a couple of interface methods is currently set to ArrayBufferView when it should be ArrayBufferView<ArrayBuffer>. Because extends is a manually defined field, it doesn't honour useGenericTypedArrays, so this needs to be indirectly resolved for compatibility with TS 5.6 and earlier.

@github-actions
Copy link
Contributor

Thanks for the PR!

This section of the codebase is owned by @saschanaz - if they write a comment saying "LGTM" then it will be merged.

@saschanaz
Copy link
Contributor

Interesting, LGTM

@github-actions
Copy link
Contributor

There was an issue merging, maybe try again saschanaz. Details

Copy link
Member

@jakebailey jakebailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hope this doesn't break people even more 😄

@saschanaz
Copy link
Contributor

LGTM

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2025

There was an issue merging, maybe try again saschanaz. Details

@saschanaz
Copy link
Contributor

What? 🙄 lgtm

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2025

There was an issue merging, maybe try again saschanaz. Details

@jakebailey
Copy link
Member

I rotated a bunch of tokens, maybe I broke this one. Will fix soon

@jakebailey
Copy link
Member

Can you try again?

@saschanaz
Copy link
Contributor

LGTM

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2025

There was an issue merging, maybe try again saschanaz. Details

@jakebailey
Copy link
Member

Okay, well that's quite confusing.

@jakebailey
Copy link
Member

The token I rotated isn't even the one used by this workflow, which is just the regular github actions token. Weird. Maybe they broke yet another thing in the workflow :(

I'll just merge it.

@jakebailey jakebailey merged commit 3e0771e into microsoft:main Nov 1, 2025
7 checks passed
@saschanaz
Copy link
Contributor

This is why I need a real permission rather than a workflow workaround

@Renegade334 Renegade334 deleted the non-shared-arraybufferviews branch November 1, 2025 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants